<!DOCTYPE html>
<html ng-app=authapp>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
	<title>江苏省中等职业院校评估系统</title>
	<meta name="keywords" content="江苏省中等职业院校评估系统">
	<meta name="description" content="江苏省中等职业院校评估系统">

	<link rel="stylesheet" href="../../plugin/bootstrap/bootstrap.min.css" />
	<link rel="stylesheet" href="../../basic/style/base.css" />
	<link rel="stylesheet" href="../../models/admin/css/home.css"/>
	<link rel="stylesheet" href="../../models/admin/css/material_applyl.css"/>
    <script src="../../plugin/angular/angular.min.js"></script>
    <script src="../../plugin/angular/angular-cookies.min.js"></script>
    <script src="../../plugin/angular/ng-file-upload.min.js"></script>
    <script src="../../basic/js/source.js"></script>
    <script src="../../basic/js/base.js"></script>
    <script src="../../models/admin/js/meterial_apply.js"></script>
    <script src="../../basic/js/directive.js"></script>
</head>

<body>
	<div authheader></div>
	<div class="main-content" >
		<div leftaside></div>
		<aside>
			<div class="top-bar"><span>一级指标申请管理</span></div>
			<div class="m-add" ng-controller="applyMController">
				<div class="whole-cover" ng-hide="isAddM || !edit"></div>
				<div class="add-form" ng-hide="isAddM">
					<!--<div><span>一级指标序号</span><input type="number" ng-model="addFZNum" placeholder="填入数字" title="一级指标会按此数字排序"/></div>-->
					<div><span>添加一级指标</span><input type="text" ng-model="addFZ" placeholder="请输入一级指标名称"/></div>
					<div>
						<div ng-click="addFirstZ()">确认</div>
						<div ng-click="cancelAddM()">取消</div>
					</div>
				</div>
				<!--编辑-->
				<div class="add-form" ng-if="showEdit">
					<div><span>一级指标序号</span><input type="text" ng-model="item.chindexNum" placeholder="填入数字" title="一级指标会按此数字排序" readonly /></div>
					<div><span>添加一级指标</span><input type="text" ng-model="item.s_name" placeholder="请输入一级指标名称"/></div>
					<div>
						<div ng-click="doEdit(item)">确认</div>
						<div ng-click="doCancel()">取消</div>
					</div>
				</div>
				<div class="add-apply" ng-click="addM()">添加一级指标</div>
				<div class="list-content">
					<div>
						<div class="cooleList title"><i>编号</i><span>一级指标名称</span><div class="action">操作</div></div>
					</div>
					<div ng-repeat="arraylist in list">
						<div class="cooleList">
							<i>{{arraylist.chindexNum}}</i>
							<span>{{arraylist.s_name}}</span>
							<div class="btn" ng-click="edit(arraylist)" style="width:45px;">编辑</div>
							<div class="btn" ng-click="delCollect(arraylist.p_id)" style="width: 45px">删除</div>
							<div class="btn" ng-click="turnTo(arraylist.p_id,arraylist.listIndex)">查看二级指标</div>
						</div>
					</div>
				</div>
				<!-- <observe totalitems="204" listsizes="5" itemsperpage="10"></observe> -->
			</div>
		</aside>
	</div>
	<div authfooter></div>
</body>
</html>
